package puntoventa.util;

import javax.swing.JOptionPane;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

public class Configuraciones {
    public static void setSkin(){
        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException ex) {
            JOptionPane.showMessageDialog(null,
                                          "Error al Configurar el Skin -> "+ex.getLocalizedMessage(),
                                          "Mensaje del Sistema",
                                          JOptionPane.INFORMATION_MESSAGE);
        }
    }
}
